import React from 'react';
import ReactDOM from 'react-dom';
import Router from './views/routers'
import registerServiceWorker from './registerServiceWorker';
import 'antd/dist/antd.css';

import {createStore} from 'redux'
import authReducer from './reducers'
import {Provider} from 'react-redux'
export const authStore = createStore(authReducer);


ReactDOM.render(
    <Provider store={authStore}>
        <Router/>
    </Provider>
    , document.getElementById('root'));
registerServiceWorker();
